package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;

import java.util.List;


/**
 * <p>
 * 菜品 服务类
 * </p>
 *
 * @author author
 * @since 2025-05-18
 */
public interface IDishService extends IService<Dish> {

    void savaWithFlavor(DishDTO dishDTO);

    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatchByIds(List<Long> ids);

    void updateWithFlavor(DishDTO dishDTO);

    List<Dish> listDish(Long categoryId);


    void startOrStop(Long id, Integer status);
}
